package com.qfedu.dao;

import com.qfedu.entity.Cart;

import java.util.List;

public interface ICartDao {
  int insertCart(int uid, int pid, double money);
  int addCart(int uid, int pid);
  Cart checkCart(int uid, int pid);
  List<Cart> listCart(int uid);
  int subtractCart(int uid, int pid);
  int changeCartCount(int uid, int pid, int count);
  int deleteCart(int uid, int pid);
  int clearCart(int uid);
}
